home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 12
/
CU Amiga Magazine's Super CD-ROM 12 (1997)(EMAP Images)(GB)[!][issue 1997-07].iso
/
CUCD
/
Games
/
DestructivePoker
/
sources
/
sources.lha
/
POKER.RC
< prev
next >
Wrap
Text File
|
1997-01-30
|
4KB
|
122 lines
/****************************************************************************
poker.rc
produced by Borland Resource Workshop
^^^^^^^^^^^^^^^^^
and repaired uncountable times by TextEdit!!!
and repaired uncountable times by TextEdit!!!
and repaired uncountable times by TextEdit!!!
and repaired uncountable times by TextEdit!!!
and repaired uncountable times by TextEdit!!!
and repaired uncountable times by TextEdit!!!
and repaired uncountable times by TextEdit!!!
*****************************************************************************/
#include "poker.rh"
DIALOG_POKER DIALOG 27, 36, 399, 309
STYLE WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
CAPTION "Poker by Kimmo Teräväinen"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "&Deal/Done", BUTTON_FINISH, 290, 100, 40, 20
PUSHBUTTON "&Changes - Jokers", BUTTON_BET, 10, 5, 96, 21
PUSHBUTTON "&Shuffle", BUTTON_SHUFFLE, 10, 100, 40, 20
LTEXT "0", STATIC_MONEY, 180, 10, 70, 11
PUSHBUTTON "&1 Card", BUTTON_CARD0, 89, 127, 42, 35, NOT WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&2 Card", BUTTON_CARD1, 89, 127, 42, 35, NOT WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&3 Card", BUTTON_CARD2, 89, 127, 42, 35, NOT WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&4 Card", BUTTON_CARD3, 89, 127, 42, 35, NOT WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&5 Card", BUTTON_CARD4, 89, 127, 42, 35, NOT WS_VISIBLE | WS_TABSTOP
LTEXT "Money:", -1, 151, 9, 27, 11
}
MENU_POKER MENU
{
POPUP "&Game"
{
MENUITEM "&New Game", MENU_NEW
MENUITEM "Continue &Old", MENU_OLD
MENUITEM "&Save Game", MENU_SAVE
MENUITEM "&About", MENU_ABOUT
MENUITEM "&Quit", MENU_QUIT
}
POPUP "&Edit"
{
MENUITEM "&Copy", MENU_EDITCOPY
}
POPUP "&Preferences"
{
MENUITEM "&Hand Evaluation", MENU_PREFSHAND
MENUITEM "&Changes - Jokers", MENU_PREFSBET
}
POPUP "&Help"
{
MENUITEM "&Instructions", MENU_HELPHELP
MENUITEM "&About", MENU_HELPABOUT
}
}
CARDGFX BITMAP "cardgfx.bmp"
DIALOG_ABOUT DIALOG 28, 32, 194, 119
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "About Poker"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 73, 96, 50, 14
CTEXT "Poker", -1, 3, 6, 189, 8
CTEXT "by", -1, 2, 17, 189, 8
CTEXT "Kimmo Teräväinen", -1, 3, 28, 189, 8
CTEXT "email: kihete@cc.jyu.fi", -1, 3, 53, 190, 12
}
DIALOG_PREFSHAND DIALOG 28, 30, 194, 127
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Preferences Hand Evaluation"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "&OK", IDOK, 12, 108, 50, 14
PUSHBUTTON "&Cancel", IDCANCEL, 134, 108, 50, 14
GROUPBOX "5 &Jokers", RADIO_5JOKERS, 7, 5, 179, 42, BS_GROUPBOX | WS_GROUP
CONTROL "'5 Jokers' is &Lousy Hand", RADIO_5JOKERS_FALSE, "BUTTON", BS_AUTORADIOBUTTON, 15, 16, 163, 12
CONTROL "'5 Jokers' is &Best Possible", RADIO_5JOKERS_TRUE, "BUTTON", BS_AUTORADIOBUTTON, 15, 30, 163, 12
GROUPBOX "&5 of Kind", RADIO_5OFKIND, 6, 57, 179, 42, BS_GROUPBOX | WS_GROUP
CONTROL "5 of Kind is Lower than &Straight Flush", RADIO_5OFKIND_FALSE, "BUTTON", BS_AUTORADIOBUTTON, 14, 68, 163, 12
CONTROL "5 of &Kind is Higher than Straight Flush", RADIO_5OFKIND_TRUE, "BUTTON", BS_AUTORADIOBUTTON, 14, 82, 163, 12
}
DIALOG_PREFSBET DIALOG 6, 15, 194, 119
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Bet: Changes- Jokers"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", IDOK, 12, 96, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 132, 97, 50, 14
CONTROL "1", COMBO_CHANGES, "COMBOBOX", CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | CBS_NOINTEGRALHEIGHT | CBS_DISABLENOSCROLL| WS_CHILD | WS_VISIBLE | WS_VSCROLL |WS_TABSTOP, 21, 24, 50, 40
CONTROL "3", COMBO_JOKERS, "COMBOBOX", CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | CBS_NOINTEGRALHEIGHT | CBS_DISABLENOSCROLL| WS_CHILD | WS_VISIBLE | WS_VSCROLL |WS_TABSTOP, 110, 24, 50, 88
LTEXT "Changes", -1, 20, 6, 51, 15
LTEXT "Jokers", -1, 110, 6, 55, 14
}
DIALOG_DOUBLE DIALOG 6, 15, 200, 170
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Double"
FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "&Don't Double", IDOK, 50, 150, 100, 14
PUSHBUTTON "&Small", BUTTON_SMALL, 40, 130, 50, 14
PUSHBUTTON "&Big", BUTTON_BIG, 110, 130, 50, 14
CTEXT "Have I Small or Big card?", -1, 20, 6, 161, 9
}